﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AwesomeChat
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnChat_Click(object sender, EventArgs e)
        {
            // Our Chat Client should be opened
        }

        private void btnServer_Click(object sender, EventArgs e)
        {
            new Thread(new ThreadStart(delegate 
                {
                    Application.Run(new frmServer());

                })).Start(); 
        }
    }
}
